public class Test1 {
    public static void main(String[] args) {
        int[] arr={21, 33 , 6 , 18 , 37 , 48 , 11 ,10};
        MyPriorityQueue myPriorityQueue = new MyPriorityQueue();
        myPriorityQueue.createHeap(arr);
        myPriorityQueue.display();
        myPriorityQueue.heapSort();
        myPriorityQueue.display();
    }
}
